.mod-dialog-masklayer,
.mod-dialog-masklayer-iframe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    z-index: 1000;
    display: none;
    background: #2d2e31;
    background: -webkit-radial-gradient(center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1) 80%);
    background: -moz-radial-gradient(center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1) 80%);
    background: radial-gradient(center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1) 80%);
    filter: alpha(opacity=70);
    *position: absolute;
    _position: absolute;
    _width: 100%;
    _height: expression(function() {return Math.max(document.documentElement.clientHeight, document.documentElement.scrollHeight);}());
}

.mod-dialog-masklayer-iframe {
    width: 100%;
    height: 100%;
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 1001;
}

.mod-dialog {
    position: fixed;
    *position: absolute;
    _position: absolute;
    z-index: 2000;
    top: 0;
}

.mod-dialog .wrapper {
}

.mod-dialog .wrapper .header {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    background: #fff;
}

.mod-dialog .header .title {
    font-size: 16px;
    max-width: 400px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    _width: 350px;
    color: #666;
    font-weight: bold;
    margin: 0;
    line-height: 50px;
    height: 50px;
}

.mod-dialog .header .close, .mod-dialog .mod-send .close {
    position: absolute;
    right: 10px;
    top: 0px;
    cursor: pointer;
    filter: alpha(opacity=100);
    opacity: 1;
    vertical-align: middle;
    font-size: 28px;
    color: #c6c6c6;
}

.mod-dialog .header .close:hover {
    color: #e84a01;
}

.mod-dialog .wrapper .content {
    background-color: #fff;
}

.mod-dialog .dialog-warn {
    display: inline-block;
    width: 34px;
    height: 30px;
    vertical-align: middle;
    margin: 0 12px 0 50px;
}

.warn.iconfont {
    display: inline-block;
    font-size: 50px;
    color: #e84a01;
}

.mod-dialog .dialog-warn-txt {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
}

.mod-dialog .footer {
    padding: 15px 14px;
    text-align: right;
    height: 30px;
    line-height: 30px;
    background-color: #e9eaeb;
}

.mod-dialog .footer .cancel {
    margin-right: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    color: #333;
    background-color: #fff;
}

.mod-dialog .footer .cancel:hover {
    border-color: #999;
}